package uk.co.droidinactu.inlibrislibertas.model;

public final class BooleanOperator {

	public static final BooleanOperator AND = new BooleanOperator();
	public static final BooleanOperator OR = new BooleanOperator();
	public static final BooleanOperator ANDNOT = new BooleanOperator();
	public static final BooleanOperator ORNOT = new BooleanOperator();

	private BooleanOperator() {
	}

	@Override
	public String toString() {

		if (this == BooleanOperator.AND) {
			return "And";
		}
		if (this == BooleanOperator.ANDNOT) {
			return "AndNot";
		}
		if (this == BooleanOperator.ORNOT) {
			return "OrNot";
		}
		if (this == BooleanOperator.OR) {
			return "Or";
		}
		return "Unknown";
	}
}
